<?php
include 'checkLogin.php';
include 'db/li.php';
@$manas = dbSelectAll('select management.name from management join manaType on manaTypeId=manaType.id where manaType.name="职员管理"');


@$texts = $_REQUEST['texts'];

//foreach ($texts as $text){
	@$qw = dbSelectAll('select * from management where management.name=:name',array('name'=>$texts));
//}
	
	
echo json_encode(array('status'=>true,'manas'=>$manas,'qw'=>$qw));
?>
